Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

feature/settings/src/commonMain/kotlin/org/meshtastic/feature/settings/radio/component/PacketAuthenticityPreviews.kt cd1ebd1ec1470b3968fb7aedfc69975b1b0be5f3 (cd1ebd1e) Text, 2.52 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tf0883e@fileTb4b4b4:Te6edf3SuppressTb4b4b4(Ta5d6ff"Ta5d6ffPreviewPublicTa5d6ff"Tb4b4b4)

Tff7b72package T7ee787org.meshtastic.feature.settings.radio.component

Tff7b72import T7ee787androidx.compose.foundation.layout.padding
Tff7b72import T7ee787androidx.compose.material3.Surface
Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787androidx.compose.ui.Modifier
Tff7b72import T7ee787androidx.compose.ui.tooling.preview.PreviewLightDark
Tff7b72import T7ee787androidx.compose.ui.unit.dp
Tff7b72import T7ee787org.meshtastic.core.ui.theme.AppTheme
Tff7b72import T7ee787org.meshtastic.proto.Config

Tf0883e@PreviewLightDark
Tf0883e@Composable
Tff7b72fun Td2a8ffPacketAuthenticityDefaultPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3PacketAuthenticitySettingPreviewTb4b4b4(Te6edf3ConfigTb4b4b4.Te6edf3SecurityConfigTb4b4b4(Tb4b4b4)Tb4b4b4.Te6edf3packet_signature_policyTb4b4b4)
Tb4b4b4}

Tf0883e@PreviewLightDark
Tf0883e@Composable
Tff7b72fun Td2a8ffPacketAuthenticityBalancedPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3PacketAuthenticitySettingPreviewTb4b4b4(Te6edf3PacketSignaturePolicyTb4b4b4.Te6edf3PACKET_SIGNATURE_POLICY_BALANCEDTb4b4b4)
Tb4b4b4}

Tf0883e@PreviewLightDark
Tf0883e@Composable
Tff7b72fun Td2a8ffPacketAuthenticityStrictPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3PacketAuthenticitySettingPreviewTb4b4b4(Te6edf3PacketSignaturePolicyTb4b4b4.Te6edf3PACKET_SIGNATURE_POLICY_STRICTTb4b4b4)
Tb4b4b4}

Tf0883e@PreviewLightDark
Tf0883e@Composable
Tff7b72fun Td2a8ffPacketAuthenticityUnsupportedPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3AppTheme Tb4b4b4{
Te6edf3SurfaceTb4b4b4(Te6edf3modifier Tff7b72= Te6edf3ModifierTb4b4b4.Te6edf3paddingTb4b4b4(T79c0ff1T79c0ff6.Te6edf3dpTb4b4b4)Tb4b4b4) Tb4b4b4{
Te6edf3PacketAuthenticitySettingTb4b4b4(
Te6edf3selectedPolicy Tff7b72= Te6edf3PacketSignaturePolicyTb4b4b4.Te6edf3PACKET_SIGNATURE_POLICY_BALANCEDTb4b4b4,
Te6edf3connected Tff7b72= Tff7b72trueTb4b4b4,
Te6edf3supported Tff7b72= Tff7b72falseTb4b4b4,
Te6edf3onPolicyChange Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}

Tf0883e@PreviewLightDark
Tf0883e@Composable
Tff7b72fun Td2a8ffPacketAuthenticityStrictConfirmationPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3AppTheme Tb4b4b4{ Te6edf3PacketAuthenticityStrictConfirmationDialogTb4b4b4(Te6edf3show Tff7b72= Tff7b72trueTb4b4b4, Te6edf3onConfirm Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4, Te6edf3onDismiss Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4) Tb4b4b4}
Tb4b4b4}

Tf0883e@Composable
Tff7b72private Tff7b72fun Td2a8ffPacketAuthenticitySettingPreviewTb4b4b4(Te6edf3policyTb4b4b4: Te6edf3PacketSignaturePolicyTb4b4b4) Tb4b4b4{
Te6edf3AppTheme Tb4b4b4{
Te6edf3SurfaceTb4b4b4(Te6edf3modifier Tff7b72= Te6edf3ModifierTb4b4b4.Te6edf3paddingTb4b4b4(T79c0ff1T79c0ff6.Te6edf3dpTb4b4b4)Tb4b4b4) Tb4b4b4{
Te6edf3PacketAuthenticitySettingTb4b4b4(Te6edf3selectedPolicy Tff7b72= Te6edf3policyTb4b4b4, Te6edf3connected Tff7b72= Tff7b72trueTb4b4b4, Te6edf3supported Tff7b72= Tff7b72trueTb4b4b4, Te6edf3onPolicyChange Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s